import com.fui.pojo.Camp;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TT {
    @Test
    public void test2() {
        ApplicationContext context = new ClassPathXmlApplicationContext("beans.xml");
        Camp camp = context.getBean("camp", Camp.class);
        System.out.println(camp.toString());
    }
}
